package com.igelato.controller.Goods;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class GoodsUpdateDto implements Serializable {

    @NotNull(message = "id不能为空")
    private Integer id;

    private Integer cate_id;

    private String goods_name;

    @ApiModelProperty("商品描述")
    private String goods_desc;

    private String goods_image;

    @ApiModelProperty("原价")
    private Integer origin_price;

    @ApiModelProperty("打折后的价格")
    private Integer discount_price;

    @ApiModelProperty("特价")
    private Integer special_price;

    @ApiModelProperty("规格")
    private String specs_list_json;

    @ApiModelProperty("组合")
    private String compose_list_json;

    private Integer sort;

    @ApiModelProperty("1：展示；-1：不展示；")
    private Integer status;

}
